package lemon.mvc.util;

public class ElcUtil {

    ////	private final static ElcClient ec = ElcClient.getInstance("");
    //	private final static String _ELC_CONFIG_PATH = WF.getConfigFolder()+WF.getNamespace()+"/";
    //	
    //	private  static boolean  _ELC_INUSE = false;
    //	
    //	static{
    //		
    //		File fSql = new File(_ELC_CONFIG_PATH+"/elc.properties");
    //		
    //		if(fSql.exists())
    //			_ELC_INUSE = true;
    //	}

    public static void throwWebException(Exception e) {
        //		if(!_ELC_INUSE)
        //			return;
        //		ElcClient.getInstance(_ELC_CONFIG_PATH).throwException(e);

    }

    public static void throwWebException(Exception e, int level) {
        //		if(!_ELC_INUSE)
        //			return;
        //		ElcClient.getInstance(_ELC_CONFIG_PATH).throwException(e, level);
    }

    public static void throwWebException(Exception e, int level, String message) {
        //		if(!_ELC_INUSE)
        //			return;
        //		ElcClient.getInstance(_ELC_CONFIG_PATH).throwException(e, level,message);
    }

    public static void throwWebException(String appName, Exception e, int level, String message) {
        //		if(!_ELC_INUSE)
        //			return;
        //		ElcClient.getInstance(_ELC_CONFIG_PATH).throwException( e, level, appName, message);
    }

}
